package com.joshua.spring.fallback;

import com.joshua.spring.entity.vo.GlobalResponse;
import com.joshua.spring.form.AddDataForm;
import com.joshua.spring.form.QueryRuleInfoForm;
import com.joshua.spring.form.UpdateDataForm;
import com.joshua.spring.spi.RestfulRuleClient;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * projectName dragon-cloud
 * package com.joshua.spring.fallback
 * classname  RestfulRuleClientFallback
 * <p>
 * description
 * </p>
 *
 * @author <a href="mailto:joshualwork@163.com">joshua_liu</a>
 * @date 2020/8/31 19:35
 */
@Component
public class RestfulRuleClientFallback implements RestfulRuleClient {
    @Override
    public GlobalResponse ruleInfo(String id) {
        return null;
    }

    @Override
    public GlobalResponse queryRuleInfosByIds(String[] ids) {
        return null;
    }

    @Override
    public GlobalResponse queryRuleInfosByMap(Map jsonMap) {
        return null;
    }

    @Override
    public GlobalResponse queryRuleInfosByCondition(QueryRuleInfoForm form) {
        return null;
    }

    @Override
    public GlobalResponse addData(AddDataForm form) {
        return null;
    }

    @Override
    public GlobalResponse updateData(Long id, UpdateDataForm form) {
        return null;
    }

    @Override
    public GlobalResponse delData(Long id) {
        return null;
    }
}
